package p.ithorns.integration.transform.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;
import p.ithorns.tools.translator.annotation.meta.MapDictMeta;

import java.io.Serializable;

/**
 * OrderDetail
 *
 * @author HtL
 * @date 2025/2/6 8:50
 * @since 1.0.0
 */
//@DictGen
@Getter
@Setter
public class OrderDetail implements Serializable {

    private Integer orderId;

    //@ApiModelProperty(value = "状态")
    @TableField(value = "status")
    @MapDictMeta(mapOf = {"0:禁用", "1:启用"})
    private String enabled;

    @Override
    public String toString() {
        return "{" +
                "orderId:" + orderId +
                ", enabled:'" + enabled + // "-" + enabledLabel +
                "'}";
    }

}